﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Syspetro.Aliyun
{
    public class SMSBaoOptions
    {
        public string AppKey { get; set; } = "13439049772";
        public string AppSecret { get; set; } = "bb41a2d6cd85701876408913ce917bb3";
        public bool Enabled { get; set; } = false;
        /// <summary>
        /// 限制次数
        /// </summary>
        public int PerLimit { get; set; } = 6;
        /// <summary>
        /// 限制时间内(小时)
        /// </summary>
        public int PerLimitHours { get; set; } = 24;
        /// <summary>
        /// 有效时间(分钟)
        /// </summary>
        public int ValidTime { get; set; } = 3;
        public string Templete { get; set; } = "尊敬的用户，您的验证码{0}，该验证码{1}分钟内有效，请妥善保管，切勿泄漏于他人！";
    }
}
